'''
Created on Feb 19, 2013

@author: jeh
'''

if __name__ == '__main__':
    # built-in
    import sys
    
    # third party
    from PyQt4 import QtGui
    from PIL import Image
    
    # library
    #from mImg import avg, get_hist, hist_eq
    
    # project
    from mGUI.MainWindow import MainWindow
    
    original = Image.open('../img/winter_sm.jpg')


    app = QtGui.QApplication(sys.argv)
    app.setApplicationName("Image")
    mw = MainWindow(img=original)
    
    mw.setGeometry(50,100,800,600)
    mw.show()
    sys.exit(app.exec_())